import {get, post } from "./request"

export const manager = (pid) => {
    return get("/member/isManager", { pid })
}
export const member = (pid) => {
    return get("/member/isMember", { pid })
}
export const getMemberList = (pid) => {
    return get("/member/get", { pid })
}
export const getPermission = (pid) => get("/member/getPermission", { pid })
export const updateMember = params => post("/member/update", params)
export const removeMember = params => post("/member/remove", params)
export const joinMember = prams => post("/member/join", params)